<?php

use think\facade\Route;

//商城后端路由表
Route::group('admin', function () {
    //商品列表
    Route::post('Admin/login', 'Admin/login');
    //配置详情
    Route::post('AdminSetting/configInfo', 'AdminSetting/configInfo');
    //配置修改
    Route::post('AdminSetting/configUpdate', 'AdminSetting/configUpdate');
    //通知配置详情
    Route::post('AdminSetting/msgConfigInfo', 'AdminSetting/msgConfigInfo');
    //通知配置修改
    Route::post('AdminSetting/msgConfigUpdate', 'AdminSetting/msgConfigUpdate');

    Route::post('AdminSetting/payConfigInfo', 'AdminSetting/payConfigInfo');

    Route::post('AdminSetting/payConfigUpdate', 'AdminSetting/payConfigUpdate');
    //banne列表
    Route::post('AdminSetting/bannerList', 'AdminSetting/bannerList');
    //banner添加
    Route::post('AdminSetting/bannerAdd', 'AdminSetting/bannerAdd');
    //banner编辑
    Route::post('AdminSetting/bannerUpdate', 'AdminSetting/bannerUpdate');
    //banner详情（id）
    Route::get('AdminSetting/bannerInfo', 'AdminSetting/bannerInfo');
    //文章列表（title）
    Route::get('AdminSetting/articleList', 'AdminSetting/articleList');
    //添加文章
    Route::post('AdminSetting/articleAdd', 'AdminSetting/articleAdd');
    //编辑文章
    Route::post('AdminSetting/articleUpdate', 'AdminSetting/articleUpdate');
    //文章详情（id）
    Route::get('AdminSetting/articleInfo', 'AdminSetting/articleInfo');
    //文章下拉框
    Route::get('AdminSetting/articleSelect', 'AdminSetting/articleSelect');
    //修改密码（pass）
    Route::post('AdminSetting/updatePass', 'AdminSetting/updatePass');
    //桌号列表
    Route::get('AdminSetting/tableList', 'AdminSetting/tableList');
    //桌号详情
    Route::get('AdminSetting/tableInfo', 'AdminSetting/tableInfo');
    //添加桌号
    Route::post('AdminSetting/tableAdd', 'AdminSetting/tableAdd');
    //编辑桌号
    Route::post('AdminSetting/tableUpdate', 'AdminSetting/tableUpdate');
    //刷新桌号码 id
    Route::post('AdminSetting/reTableQr', 'AdminSetting/reTableQr');

    Route::get('AdminSetting/aboutUsList', 'AdminSetting/aboutUsList');

    Route::post('AdminSetting/aboutUsAdd', 'AdminSetting/aboutUsAdd');

    Route::post('AdminSetting/aboutUsUpdate', 'AdminSetting/aboutUsUpdate');

    Route::get('AdminSetting/aboutUsInfo', 'AdminSetting/aboutUsInfo');

    Route::get('AdminSetting/aboutUsInfoType', 'AdminSetting/aboutUsInfoType');
    //配送设置详情
    Route::get('AdminSetting/sendConfigInfo', 'AdminSetting/sendConfigInfo');
    //添加配置设置
    Route::post('AdminSetting/sendConfigUpdate', 'AdminSetting/sendConfigUpdate');

    Route::get('AdminSetting/welfareList', 'AdminSetting/welfareList');

    Route::post('AdminSetting/welfareAdd', 'AdminSetting/welfareAdd');

    Route::post('AdminSetting/welfareUpdate', 'AdminSetting/welfareUpdate');

    Route::get('AdminSetting/welfareInfo', 'AdminSetting/welfareInfo');






    //农场主列表
    Route::get('AdminFarmer/farmerList', 'AdminFarmer/farmerList');

    Route::get('AdminFarmer/farmerInfo', 'AdminFarmer/farmerInfo');

    Route::post('AdminFarmer/farmerUpdate', 'AdminFarmer/farmerUpdate');

    Route::post('AdminFarmer/farmerAdd', 'AdminFarmer/farmerAdd');
    //农场主下拉框
    Route::get('AdminFarmer/farmerSelectList', 'AdminFarmer/farmerSelectList');
    //农场主提现列表
    Route::get('AdminFarmer/walletList', 'AdminFarmer/walletList');

    Route::post('AdminFarmer/walletPass', 'AdminFarmer/walletPass');

    Route::post('AdminFarmer/walletNoPass', 'AdminFarmer/walletNoPass');
    //财务流水列表
    Route::get('AdminFarmer/fincanceWaterList', 'AdminFarmer/fincanceWaterList');
    //财务流水详情
    Route::get('AdminFarmer/fincanceWaterInfo', 'AdminFarmer/fincanceWaterInfo');
    //平台统计详情
    Route::get('AdminFarmer/statisticsCash', 'AdminFarmer/statisticsCash');
    //用户统计详情
    Route::get('AdminFarmer/statisticsUser', 'AdminFarmer/statisticsUser');
    //仪器列表
    Route::get('AdminFarmer/machineList', 'AdminFarmer/machineList');

    Route::get('AdminFarmer/machineSelect', 'AdminFarmer/machineSelect');
    //仪器详情
    Route::get('AdminFarmer/machineInfo', 'AdminFarmer/machineInfo');
    //添加仪器
    Route::post('AdminFarmer/machineAdd', 'AdminFarmer/machineAdd');
    //编辑仪器
    Route::post('AdminFarmer/machineUpdate', 'AdminFarmer/machineUpdate');
    //店铺下拉框
    Route::get('AdminFarmer/storeSelect', 'AdminFarmer/storeSelect');

    Route::get('AdminFarmer/monitorList', 'AdminFarmer/monitorList');

    Route::get('AdminFarmer/monitorSelect', 'AdminFarmer/monitorSelect');

    Route::get('AdminFarmer/monitorInfo', 'AdminFarmer/monitorInfo');

    Route::post('AdminFarmer/monitorAdd', 'AdminFarmer/monitorAdd');

    Route::post('AdminFarmer/monitorUpdate', 'AdminFarmer/monitorUpdate');


    //楼长数量
    Route::get('AdminCap/capCount', 'AdminCap/capCount');
    //修改楼长
    Route::post('AdminCap/capUpdate', 'AdminCap/capUpdate');
    //团长下拉框
    Route::get('AdminCap/capSelect', 'AdminCap/capSelect');
    //后台提现列表
    Route::get('AdminCap/walletList', 'AdminCap/walletList');
    //同意打款（id,status=2,online 1：线上，0线下）
    Route::post('AdminCap/walletPass', 'AdminCap/walletPass');
    //拒绝打款（id,status=3）
    Route::post('AdminCap/walletNoPass', 'AdminCap/walletNoPass');
    //财务管理
    Route::post('AdminCap/financeList', 'AdminCap/financeList');
    //商品列表
    Route::get('AdminGoods/goodsList', 'AdminGoods/goodsList');
    //审核商品数量
    Route::get('AdminGoods/goodsCount', 'AdminGoods/goodsCount');
    //审核详情
    Route::get('AdminGoods/shInfo', 'AdminGoods/shInfo');
    //审核商品详情
    Route::get('AdminGoods/shGoodsInfo', 'AdminGoods/shGoodsInfo');
    //同意|驳回申请 status 2 同意 3驳回
    Route::post('AdminGoods/shUpdate', 'AdminGoods/shUpdate');
    //用户列表
    Route::get('AdminUser/userList', 'AdminUser/userList');
    //用户评价列表（title,type）
    Route::get('AdminUser/evaluateList', 'AdminUser/evaluateList');

    Route::post('AdminUser/userIntegralUpdate', 'AdminUser/userIntegralUpdate');

    Route::post('AdminUser/evaluateUpdate', 'AdminUser/evaluateUpdate');
    //退款列表
    Route::get('AdminOrder/refundOrderList', 'AdminOrder/refundOrderList');
    //订单列表
    Route::get('AdminOrder/orderList', 'AdminOrder/orderList');
    //订单详情
    Route::get('AdminOrder/orderInfo', 'AdminOrder/orderInfo');
    //退款详情
    Route::get('AdminOrder/refundOrderInfo', 'AdminOrder/refundOrderInfo');
    //拒绝退款
    Route::post('AdminOrder/noPassRefund', 'AdminOrder/noPassRefund');

    Route::post('AdminOrder/shopOrderSend', 'AdminOrder/shopOrderSend');

    Route::post('AdminOrder/uploadVideo', 'AdminOrder/uploadVideo');
    //同意退款
    Route::post('AdminOrder/passRefund', 'AdminOrder/passRefund');
    //某一天的数据统计
    Route::post('AdminOrder/dateCount', 'AdminOrder/dateCount');
    //土地订单导出
    Route::get('AdminExcel/landOrderList', 'AdminExcel/landOrderList');

    Route::get('AdminExcel/dateCount', 'AdminExcel/dateCount');
    //认养订单导出
    Route::get('AdminExcel/claimOrderList', 'AdminExcel/claimOrderList');

    Route::get('AdminExcel/userProfitListExcel', 'AdminExcel/userProfitListExcel');

    Route::get('AdminExcel/userRelationshipListExcel', 'AdminExcel/userRelationshipListExcel');



    //分类列表
    Route::get('AdminGoods/goodsCateList', 'AdminGoods/goodsCateList');
    //添加分类
    Route::post('AdminGoods/goodsCateAdd', 'AdminGoods/goodsCateAdd');

    Route::post('AdminGoods/goodsCateAdd', 'AdminGoods/goodsCateAdd');

    Route::post('AdminGoods/goodsCateUpdate', 'AdminGoods/goodsCateUpdate');

    Route::get('AdminGoods/goodsCateInfo', 'AdminGoods/goodsCateInfo');
    //同步分类
    Route::get('AdminGoods/synCateList', 'AdminGoods/synCateList');
    //商品列表
    Route::get('AdminGoods/goodsList', 'AdminGoods/goodsList');
    //商品详情
    Route::get('AdminGoods/goodsInfo', 'AdminGoods/goodsInfo');
    //商品编辑
    Route::post('AdminGoods/goodsUpdate', 'AdminGoods/goodsUpdate');
    //商品添加
    Route::post('AdminGoods/goodsAdd', 'AdminGoods/goodsAdd');
    //同步商品信息
    Route::get('AdminGoods/synGoodsList', 'AdminGoods/synGoodsList');
//分类下拉框
    Route::get('AdminGoods/goodsCateSelect', 'AdminGoods/goodsCateSelect');

    Route::post('AdminGoods/updateSpe','AdminGoods/updateSpe');
    //修改商品基本参数 id 比传
    Route::post('AdminGoods/goodsBasicUpdate','AdminGoods/goodsBasicUpdate');
    //商品上下架 id status
    Route::post('AdminGoods/goodsStatusUpdate','AdminGoods/goodsStatusUpdate');
    //积分列表
    Route::get('AdminMark/integralList','AdminMark/integralList');
    //添加积分
    Route::post('AdminMark/integralAdd','AdminMark/integralAdd');
    //编辑积分
    Route::post('AdminMark/integralUpdate','AdminMark/integralUpdate');
    //积分详情
    Route::get('AdminMark/integralInfo','AdminMark/integralInfo');



    //储值充值卡列表
    Route::get('AdminBalance/cardList', 'AdminBalance/cardList');
    //储值充值卡列表
    Route::post('AdminBalance/cardAdd', 'AdminBalance/cardAdd');
    //编辑充值卡
    Route::post('AdminBalance/cardUpdate', 'AdminBalance/cardUpdate');
    //充值卡详情
    Route::get('AdminBalance/cardInfo', 'AdminBalance/cardInfo');
    //储值订单列表
    Route::get('AdminBalance/orderList', 'AdminBalance/orderList');
    //充值订单详情
    Route::get('AdminBalance/orderInfo', 'AdminBalance/orderInfo');

    Route::get('AdminBalance/orderInfo', 'AdminBalance/orderInfo');

    Route::get('AdminClaim/claimCateList', 'AdminClaim/claimCateList');

    Route::get('AdminClaim/claimCateInfo', 'AdminClaim/claimCateInfo');

    Route::post('AdminClaim/claimCateUpdate', 'AdminClaim/claimCateUpdate');

    Route::post('AdminClaim/claimCateAdd', 'AdminClaim/claimCateAdd');

    Route::get('AdminClaim/orderList', 'AdminClaim/orderList');

    Route::get('AdminClaim/userSendOrderList', 'AdminClaim/userSendOrderList');

    Route::get('AdminClaim/orderInfo', 'AdminClaim/orderInfo');
    //配送订单列表
    Route::get('AdminClaim/sendOrderList', 'AdminClaim/sendOrderList');
    //配送订单详情
    Route::get('AdminClaim/sendOrderInfo', 'AdminClaim/sendOrderInfo');
    //配送订单收货
    Route::post('AdminClaim/sendOrderReceiving', 'AdminClaim/sendOrderReceiving');
    //配送订单发货
    Route::post('AdminClaim/sendOrderSend', 'AdminClaim/sendOrderSend');

    Route::get('AdminClaim/collageList', 'AdminClaim/collageList');

    Route::get('AdminClaim/collageInfo', 'AdminClaim/collageInfo');

    Route::post('AdminClaim/collageAdd', 'AdminClaim/collageAdd');

    Route::post('AdminClaim/collageUpdate', 'AdminClaim/collageUpdate');




    //土地订单详情
    Route::get('AdminLand/orderInfo', 'AdminLand/orderInfo');
    //土地订单列表
    Route::get('AdminLand/orderList', 'AdminLand/orderList');

    Route::get('AdminLand/userSendOrderList', 'AdminLand/userSendOrderList');

    //角色列表
    Route::get('AdminUser/roleList', 'AdminUser/roleList');

    Route::get('AdminUser/roleSelect', 'AdminUser/roleSelect');
    //添加角色
    Route::post('AdminUser/roleAdd', 'AdminUser/roleAdd');
    //编辑角色
    Route::post('AdminUser/roleUpdate', 'AdminUser/roleUpdate');
    //角色详情
    Route::get('AdminUser/roleInfo', 'AdminUser/roleInfo');
    //给账号分配角色（多选）
    Route::post('AdminUser/adminRoleAdd', 'AdminUser/adminRoleAdd');

    Route::post('AdminUser/userUpdate', 'AdminUser/userUpdate');
    //账号所匹配的角色详情
    Route::get('AdminUser/adminRoleInfo', 'AdminUser/adminRoleInfo');
    //账号所匹配的角色的节点详情
    Route::get('AdminUser/adminNodeInfo', 'AdminUser/adminNodeInfo');
    //账号列表
    Route::get('AdminUser/adminList', 'AdminUser/adminList');
    //账号详情
    Route::get('AdminUser/adminInfo', 'AdminUser/adminInfo');
    //添加账号
    Route::post('AdminUser/adminAdd', 'AdminUser/adminAdd');
    //编辑账号
    Route::post('AdminUser/adminUpdate', 'AdminUser/adminUpdate');

    Route::group('AdminLand', function () {

        Route::get('landList', 'AdminLand/landList');

        Route::get('landInfo', 'AdminLand/landInfo');

        Route::post('landAdd', 'AdminLand/landAdd');

        Route::post('landUpdate', 'AdminLand/landUpdate');

        Route::post('landStatusUpdate', 'AdminLand/landStatusUpdate');

    });


    Route::group('AdminBreed', function () {

        Route::get('breedList', 'AdminBreed/breedList');

        Route::get('breedInfo', 'AdminBreed/breedInfo');

        Route::post('breedAdd', 'AdminBreed/breedAdd');

        Route::post('breedUpdate', 'AdminBreed/breedUpdate');

    });

    Route::group('AdminClaim', function () {

        Route::get('claimList', 'AdminClaim/claimList');

        Route::get('claimInfo', 'AdminClaim/claimInfo');

        Route::get('landAndClaimCate', 'AdminClaim/landAndClaimCate');

        Route::post('claimAdd', 'AdminClaim/claimAdd');

        Route::post('claimUpdate', 'AdminClaim/claimUpdate');

        Route::post('claimStatusUpdate', 'AdminClaim/claimStatusUpdate');

    });


    Route::group('AdminMassif', function () {

        Route::get('massifList', 'AdminMassif/massifList');

        Route::get('massifSelect', 'AdminMassif/massifSelect');

        Route::get('massifInfo', 'AdminMassif/massifInfo');

        Route::post('massifAdd', 'AdminMassif/massifAdd');

        Route::post('massifUpdate', 'AdminMassif/massifUpdate');

    });

    Route::group('AdminSeed', function () {

        Route::get('seedList', 'AdminSeed/seedList');

        Route::get('seedSelect', 'AdminSeed/seedSelect');

        Route::get('seedInfo', 'AdminSeed/seedInfo');

        Route::post('seedAdd', 'AdminSeed/seedAdd');

        Route::post('seedUpdate', 'AdminSeed/seedUpdate');

        Route::post('seedStatusUpdate', 'AdminSeed/seedStatusUpdate');

    });


    Route::group('AdminSource', function () {

        Route::get('sourceList', 'AdminSource/sourceList');

        Route::get('sourceSelect', 'AdminSource/sourceSelect');

        Route::get('sourceInfo', 'AdminSource/sourceInfo');

        Route::post('sourceAdd', 'AdminSource/sourceAdd');

        Route::post('sourceUpdate', 'AdminSource/sourceUpdate');

    });


    Route::group('AdminCoupon', function () {

        Route::get('couponList', 'AdminCoupon/couponList');

        Route::get('couponSelect', 'AdminCoupon/couponSelect');

        Route::get('couponInfo', 'AdminCoupon/couponInfo');

        Route::post('couponAdd', 'AdminCoupon/couponAdd');

        Route::post('couponUpdate', 'AdminCoupon/couponUpdate');

        Route::post('couponStatusUpdate', 'AdminCoupon/couponStatusUpdate');

    });

    Route::group('AdminReseller', function () {

        Route::get('resellerList', 'AdminReseller/resellerList');

        Route::get('userRelationshipListFind', 'AdminReseller/userRelationshipListFind');

        Route::get('userRelationshipList', 'AdminReseller/userRelationshipList');

        Route::post('resellerUpdate', 'AdminReseller/resellerUpdate');

        Route::get('cashList', 'AdminReseller/cashList');

        Route::get('resellerInfo', 'AdminReseller/resellerInfo');

        Route::get('userProfitList', 'AdminReseller/userProfitList');

    });

});



//商城后端路由表
Route::group('app', function () {
    //用户授权
    Route::post('IndexUser/userUpdate', 'IndexUser/userUpdate');
    //申请农场主
    Route::post('IndexUser/applyFarmer', 'IndexUser/applyFarmer');

    Route::get('IndexUser/farmerInfo', 'IndexUser/farmerInfo');

    Route::get('IndexUser/userInfo', 'IndexUser/userInfo');
    //用户|团长个人中心
    Route::get('IndexUser/index', 'IndexUser/index');
    //个人团长信息
    Route::get('IndexUser/capInfo', 'IndexUser/capInfo');
    //用户地址列表
    Route::get('IndexUser/addressList', 'IndexUser/addressList');
    //地址详情
    Route::get('IndexUser/addressInfo', 'IndexUser/addressInfo');
    //添加地址
    Route::post('IndexUser/addressAdd', 'IndexUser/addressAdd');
    //编辑地址
    Route::post('IndexUser/addressUpdate', 'IndexUser/addressUpdate');
    //删除地址
    Route::post('IndexUser/addressDel', 'IndexUser/addressDel');

    Route::post('IndexUser/reportPhone', 'IndexUser/reportPhone');
    //用户消费流水记录
    Route::get('IndexUser/userConsumeWater', 'IndexUser/userConsumeWater');

    //首页
    Route::get('Index/index', 'Index/index');
    //添加评价
    Route::post('Index/evaluateAdd', 'Index/evaluateAdd');
    //未评价的订单
    Route::get('Index/noEvaluateOrderList', 'Index/noEvaluateOrderList');
    //根据type获取对应物品的评价(goods_id,type)
    Route::get('Index/goodsEvaluateList', 'Index/goodsEvaluateList');
    //用户评价列表
    Route::get('Index/userEvaluateList', 'Index/userEvaluateList');
    //评价详情
    Route::get('Index/evaluateInfo', 'Index/evaluateInfo');
    //修改评价
    Route::post('Index/evaluateUpdate', 'Index/evaluateUpdate');
    //前端农场主下拉框
    Route::get('Index/farmerSelectList', 'Index/farmerSelectList');
    //农场列表
    Route::get('Index/farmerList', 'Index/farmerList');
    //农场详情
    Route::get('Index/farmerInfo', 'Index/farmerInfo');

    Route::get('Index/weather', 'Index/weather');

    Route::get('Index/aboutUsInfoType', 'Index/aboutUsInfoType');
    //文章详情(article_id)
    Route::get('Index/articleInfo', 'Index/articleInfo');

    Route::get('Index/aboutUsList', 'Index/aboutUsList');
    //获取配置信息
    Route::get('Index/configInfo', 'Index/configInfo');
    //文章详情(id)
    Route::get('Index/articleInfo', 'Index/articleInfo');
    //模版列表
    Route::get('Index/tmpList', 'Index/tmpList');
    //监控列表（farmer_id）
    Route::get('Index/monitorList', 'Index/monitorList');
    //获取监控地址（id）
    Route::get('Index/getMonitorInfo', 'Index/getMonitorInfo');
    //获取萤石云的token
    Route::get('Index/getYsToken', 'Index/getYsToken');
    //旋转摄像头（id，direction 0-上，1-下，2-左，3-右，4-左上，5-左下，6-右上，7-右下，8-放大，9-缩小，10-近焦距，11-远焦距）
    Route::get('Index/ysStartTurn', 'Index/ysStartTurn');
    //停止旋转（id，direction 非比传 0-上，1-下，2-左，3-右，4-左上，5-左下，6-右上，7-右下，8-放大，9-缩小，10-近焦距，11-远焦距）
    Route::get('Index/ysStopTurn', 'Index/ysStopTurn');

    Route::get('Index/haveStore', 'Index/haveStore');

    Route::get('Index/welfareColumnList', 'Index/welfareColumnList');

    Route::get('Index/welfareColumnInfo', 'Index/welfareColumnInfo');

    Route::get('Index/couponList', 'Index/couponList');

    Route::post('Index/userGetCoupon', 'Index/userGetCoupon');


    Route::get('IndexGoods/indexCapList', 'IndexGoods/indexCapList');
    //选择楼长(cap_id)
    Route::post('IndexGoods/selectCap', 'IndexGoods/selectCap');
    //分类列表
    Route::get('IndexGoods/cateList', 'IndexGoods/cateList');
    //商品首页信息
    Route::get('IndexGoods/index', 'IndexGoods/index');
    //购物车信息
    Route::get('IndexGoods/carInfo', 'IndexGoods/carInfo');
    //商品列表
    Route::get('IndexGoods/goodsList', 'IndexGoods/goodsList');
    //商品详情
    Route::get('IndexGoods/goodsInfo', 'IndexGoods/goodsInfo');
    //添加购物车（goods_id,spe_id,goods_num = 1）
    Route::post('IndexUser/addCar', 'IndexUser/addCar');
    //删除购物车|减少购物车商品数量（id,goods_num=1）
    Route::post('IndexUser/delCar', 'IndexUser/delCar');
    //批量删除购物车（ID ：arr）
    Route::post('IndexUser/delSomeCar', 'IndexUser/delSomeCar');
    //
    Route::post('IndexUser/carUpdate', 'IndexUser/carUpdate');

    Route::get('IndexUser/userCouponList', 'IndexUser/userCouponList');

    Route::post('IndexUser/couponDel', 'IndexUser/couponDel');

    Route::post('IndexUser/applyReseller', 'IndexUser/applyReseller');

    Route::get('IndexUser/getAppDownloadQr', 'IndexUser/getAppDownloadQr');

    Route::post('IndexUser/sendShortMsg', 'IndexUser/sendShortMsg');

    Route::post('IndexUser/bindUserPhone', 'IndexUser/bindUserPhone');

    Route::post('IndexUser/bindReseller', 'IndexUser/bindReseller');

    Route::get('IndexUser/fxcodeUser', 'IndexUser/fxcodeUser');





    Route::get('IndexInfo/systemInfoList', 'IndexInfo/systemInfoList');

    Route::get('IndexInfo/operateInfoList', 'IndexInfo/operateInfoList');

    Route::get('IndexInfo/operateInfoInfo', 'IndexInfo/operateInfoInfo');
    //
    Route::post('IndexOrder/payOrder', 'IndexOrder/payOrder');

    Route::get('IndexOrder/payOrderInfo', 'IndexOrder/payOrderInfo');
    //用户订单列表（pay_type,name）
    Route::get('IndexOrder/orderList', 'IndexOrder/orderList');
    //订单详情
    Route::get('IndexOrder/orderInfo', 'IndexOrder/orderInfo');
    //下单可用卡券列表
    Route::get('IndexOrder/couponList', 'IndexOrder/couponList');
    //重新支付
    Route::post('IndexOrder/rePayOrder', 'IndexOrder/rePayOrder');
    //取消订单
    Route::post('IndexOrder/cancelOrder', 'IndexOrder/cancelOrder');
    //申请退款（order_id,list:['id','num']）
    Route::post('IndexOrder/applyOrder', 'IndexOrder/applyOrder');
    //取消退款
    Route::post('IndexOrder/cancelRefundOrder', 'IndexOrder/cancelRefundOrder');
    //用户端退款列表（name,status）
    Route::get('IndexOrder/refundOrderList', 'IndexOrder/refundOrderList');
    //退款详情
    Route::get('IndexOrder/refundOrderInfo', 'IndexOrder/refundOrderInfo');
    //刷新订单二维码(id)
    Route::post('IndexOrder/refreshQr', 'IndexOrder/refreshQr');
    //确认收货
    Route::post('IndexOrder/endOrder', 'IndexOrder/endOrder');


    //储值充值卡列表
    Route::get('IndexBalance/cardList', 'IndexBalance/cardList');
    //充值余额(card_id)
    Route::post('IndexBalance/payBalanceOrder', 'IndexBalance/payBalanceOrder');
    //充值订单列表(时间筛选 start_time,end_time)
    Route::get('IndexBalance/balaceOrder', 'IndexBalance/balaceOrder');
    //消费明细
    Route::get('IndexBalance/payWater', 'IndexBalance/payWater');
    //土地列表
    Route::get('IndexFarmer/landList', 'IndexFarmer/landList');
    //添加土地
    Route::post('IndexFarmer/landAdd', 'IndexFarmer/landAdd');
    //编辑土地
    Route::post('IndexFarmer/landUpdate', 'IndexFarmer/landUpdate');
    //
    Route::post('IndexFarmer/landStatusUpdate', 'IndexFarmer/landStatusUpdate');
    //土地详情
    Route::get('IndexFarmer/landInfo', 'IndexFarmer/landInfo');
    //地块列表
    Route::get('IndexFarmer/massifList', 'IndexFarmer/massifList');
    //添加地块
    Route::post('IndexFarmer/massifAdd', 'IndexFarmer/massifAdd');
    //编辑地块
    Route::post('IndexFarmer/massifUpdate', 'IndexFarmer/massifUpdate');
    //地块详情
    Route::get('IndexFarmer/massifInfo', 'IndexFarmer/massifInfo');
    //种子列表
    Route::get('IndexFarmer/seedList', 'IndexFarmer/seedList');
    //添加种子
    Route::post('IndexFarmer/seedAdd', 'IndexFarmer/seedAdd');
    //编辑种子
    Route::post('IndexFarmer/seedUpdate', 'IndexFarmer/seedUpdate');
    //种子详情
    Route::get('IndexFarmer/seedInfo', 'IndexFarmer/seedInfo');
    //溯源列表
    Route::get('IndexFarmer/sourceList', 'IndexFarmer/sourceList');
    //添加溯源
    Route::post('IndexFarmer/sourceAdd', 'IndexFarmer/sourceAdd');
    //编辑溯源
    Route::post('IndexFarmer/sourceUpdate', 'IndexFarmer/sourceUpdate');
    //溯源详情
    Route::get('IndexFarmer/sourceInfo', 'IndexFarmer/sourceInfo');
    //认养列表
    Route::get('IndexFarmer/claimList', 'IndexFarmer/claimList');
    //添加认养
    Route::post('IndexFarmer/claimAdd', 'IndexFarmer/claimAdd');
    //编辑认养
    Route::post('IndexFarmer/claimUpdate', 'IndexFarmer/claimUpdate');
    //认养详情
    Route::get('IndexFarmer/claimInfo', 'IndexFarmer/claimInfo');
    //养殖列表
    Route::get('IndexFarmer/breedList', 'IndexFarmer/breedList');
    //添加养殖
    Route::post('IndexFarmer/breedAdd', 'IndexFarmer/breedAdd');
    //编辑养殖
    Route::post('IndexFarmer/breedUpdate', 'IndexFarmer/breedUpdate');
    //养殖详情
    Route::get('IndexFarmer/breedInfo', 'IndexFarmer/breedInfo');
    //地块服务下拉框
    Route::get('IndexFarmer/massifSelect', 'IndexFarmer/massifSelect');
    //种子下拉框
    Route::get('IndexFarmer/seedSelect', 'IndexFarmer/seedSelect');
    //溯源下拉框
    Route::get('IndexFarmer/sourceSelect', 'IndexFarmer/sourceSelect');
    //认养和土地分类（type 1土地分类 2认养分类）
    Route::get('IndexFarmer/landAndClaimCate', 'IndexFarmer/landAndClaimCate');
    //农场主配送订单列表(pay_type)
    Route::get('IndexFarmer/farmerSendOrderList', 'IndexFarmer/farmerSendOrderList');
    //农场主配送订单发货（id）
    Route::post('IndexFarmer/sendOrderSend', 'IndexFarmer/sendOrderSend');
    //配送订单取货
    Route::post('IndexFarmer/sendOrderPickup', 'IndexFarmer/sendOrderPickup');
    //农场主端认养订单列表
    Route::get('IndexFarmer/claimOrderList', 'IndexFarmer/claimOrderList');
    //农场主财务详情
    Route::get('IndexFarmer/farmerFinanceInfo', 'IndexFarmer/farmerFinanceInfo');
    //农场主流水记录
    Route::get('IndexFarmer/farmerFinanceList', 'IndexFarmer/farmerFinanceList');
    //农场主申请提现（apply_price）
    Route::post('IndexFarmer/applyWallet', 'IndexFarmer/applyWallet');
    //农场主土地订单
    Route::get('IndexFarmer/landOrderList', 'IndexFarmer/landOrderList');
    //仪器列表
    Route::get('IndexFarmer/machineList', 'IndexFarmer/machineList');
    //获取溯源二维码
    Route::post('IndexFarmer/getSourceQr', 'IndexFarmer/getSourceQr');

    Route::get('IndexFarmer/farmerInfo', 'IndexFarmer/farmerInfo');

    Route::post('IndexFarmer/farmerUpdate', 'IndexFarmer/farmerUpdate');
    //仪器下拉框
    Route::get('IndexFarmer/machineSelect', 'IndexFarmer/machineSelect');

    Route::post('IndexFarmer/claimStatusUpdate', 'IndexFarmer/claimStatusUpdate');

    Route::get('IndexFarmer/shopOrderList', 'IndexFarmer/shopOrderList');

    Route::get('IndexFarmer/shopOrderInfo', 'IndexFarmer/shopOrderInfo');

    Route::post('IndexFarmer/shopOrderSend', 'IndexFarmer/shopOrderSend');

    Route::get('IndexFarmer/monitorSelect', 'IndexFarmer/monitorSelect');




    //认养分类
    Route::get('IndexClaim/claimCateList', 'IndexClaim/claimCateList');
    //认养列表
    Route::get('IndexClaim/claimList', 'IndexClaim/claimList');

    Route::get('IndexClaim/claimInfo', 'IndexClaim/claimInfo');
    //认养轮播图
    Route::get('IndexClaim/claimBanner', 'IndexClaim/claimBanner');

    Route::get('IndexClaim/collageList', 'IndexClaim/collageList');

    Route::get('IndexClaim/userCollageLimit', 'IndexClaim/userCollageLimit');

    Route::get('IndexClaim/userCollageList', 'IndexClaim/userCollageList');

    Route::get('IndexClaim/claimCollageList', 'IndexClaim/claimCollageList');
    Route::get('IndexClaim/claimCollageInfo', 'IndexClaim/claimCollageInfo');


    //土地列表
    Route::get('IndexLand/landList', 'IndexLand/landList');
    //土地详情
    Route::get('IndexLand/landInfo', 'IndexLand/landInfo');
    //种子列表
    Route::get('IndexLand/seedList', 'IndexLand/seedList');
    //种子详情
    Route::get('IndexLand/seedInfo', 'IndexLand/seedInfo');
    //土地下单
    Route::post('IndexLand/landPayOrder', 'IndexLand/landPayOrder');
    //土地预支付信息
    Route::any('IndexLand/landPayOrderInfo', 'IndexLand/landPayOrderInfo');

    Route::get('IndexLand/orderList', 'IndexLand/orderList');

    Route::get('IndexLand/orderInfo', 'IndexLand/orderInfo');
    //土地重新下单
    Route::post('IndexLand/landRePayOrder', 'IndexLand/landRePayOrder');

    Route::post('IndexLand/cancelOrder', 'IndexLand/cancelOrder');

    Route::any('IndexLand/couponList', 'IndexLand/couponList');



    Route::get('IndexLand/userSendOrderList', 'IndexLand/userSendOrderList');
    //配送订单退款(id)
    Route::post('IndexLand/sendOrderRefund', 'IndexLand/sendOrderRefund');
    //配送订单收货（id）
    Route::post('IndexLand/sendOrderReceiving', 'IndexLand/sendOrderReceiving');

    Route::post('IndexLand/sendOrderApply', 'IndexLand/sendOrderApply');

    Route::any('IndexLand/sendOrderPayInfo', 'IndexLand/sendOrderPayInfo');

    Route::post('IndexLand/sendOrderRefund', 'IndexLand/sendOrderRefund');

    Route::get('IndexLand/sendOrderReceiving', 'IndexLand/sendOrderReceiving');

    //配送订单详情
    Route::get('IndexLand/sendOrderInfo', 'IndexLand/sendOrderInfo');

    Route::get('IndexClaim/claimBanner', 'IndexClaim/claimBanner');
    //认养下单
    Route::post('IndexClaim/claimPayOrder', 'IndexClaim/claimPayOrder');
    //认养重新下单
    Route::post('IndexClaim/claimRePayOrder', 'IndexClaim/claimRePayOrder');

    Route::get('IndexClaim/claimPayOrderInfo', 'IndexClaim/claimPayOrderInfo');
    //用户认养订单列表
    Route::get('IndexClaim/orderList', 'IndexClaim/orderList');
    //用户认养订单详情
    Route::get('IndexClaim/orderInfo', 'IndexClaim/orderInfo');
    //取消订单
    Route::post('IndexClaim/cancelOrder', 'IndexClaim/cancelOrder');
    //养殖管理列表
    Route::get('IndexClaim/breedList', 'IndexClaim/breedList');
    //养殖下单
    Route::post('IndexClaim/breedOrder', 'IndexClaim/breedOrder');
    //养殖订单列表
    Route::get('IndexClaim/breedOrderList', 'IndexClaim/breedOrderList');
    //养殖订单详情（id）
    Route::get('IndexClaim/breedOrderInfo', 'IndexClaim/breedOrderInfo');
    //申请认养配送（order_id,send_type 1 自提 2快递 send_time ，address_id ,text，is_balance ）
    Route::post('IndexClaim/sendOrderApply', 'IndexClaim/sendOrderApply');
    //配送订单下单详情
    Route::get('IndexClaim/sendOrderPayInfo', 'IndexClaim/sendOrderPayInfo');
    //获取配送时间段
    Route::get('IndexClaim/sendTime', 'IndexClaim/sendTime');

    Route::get('IndexClaim/userSendOrderList', 'IndexClaim/userSendOrderList');
    //配送订单退款(id)
    Route::post('IndexClaim/sendOrderRefund', 'IndexClaim/sendOrderRefund');
    //配送订单收货（id）
    Route::post('IndexClaim/sendOrderReceiving', 'IndexClaim/sendOrderReceiving');
    //配送订单详情
    Route::get('IndexClaim/sendOrderInfo', 'IndexClaim/sendOrderInfo');

    Route::get('IndexClaim/couponList', 'IndexClaim/couponList');
    //店铺详情
    Route::get('IndexStore/storeInfo', 'IndexStore/storeInfo');
    //修改店铺
    Route::post('IndexStore/storeUpdate', 'IndexStore/storeUpdate');
    //商品分类列表
    Route::get('IndexStore/goodsCateList', 'IndexStore/goodsCateList');
    //添加商品分类
    Route::post('IndexStore/goodsCateAdd', 'IndexStore/goodsCateAdd');
    //编辑商品分类
    Route::post('IndexStore/goodsCateUpdate', 'IndexStore/goodsCateUpdate');
    //商品分类下拉框
    Route::get('IndexStore/goodsCateSelect', 'IndexStore/goodsCateSelect');
    //商城列表
    Route::get('IndexStore/goodsList', 'IndexStore/goodsList');
    //添加商品
    Route::post('IndexStore/goodsAdd', 'IndexStore/goodsAdd');

    Route::post('IndexStore/goodsAdd', 'IndexStore/goodsAdd');

    Route::get('IndexStore/goodsCount', 'IndexStore/goodsCount');

    Route::get('IndexStore/goodsInfo', 'IndexStore/goodsInfo');

    Route::get('IndexStore/goodsFarmerSelect', 'IndexStore/goodsFarmerSelect');

    Route::get('IndexStore/goodsSourceSelect', 'IndexStore/goodsSourceSelect');

    Route::post('IndexStore/someGoodsUpdate', 'IndexStore/someGoodsUpdate');

    Route::post('IndexStore/goodsUpdate', 'IndexStore/goodsUpdate');

    Route::post('IndexStore/goodsStatusUpdate', 'IndexStore/goodsStatusUpdate');
    //门店端售后列表
    Route::get('IndexStore/refundOrderList', 'IndexStore/refundOrderList');
    //售后详情
    Route::get('IndexStore/refundOrderInfo', 'IndexStore/refundOrderInfo');
    //同意退款（id,price）
    Route::post('IndexStore/passRefund', 'IndexStore/passRefund');
    //拒绝退款(id)
    Route::post('IndexStore/noPassRefund', 'IndexStore/noPassRefund');
    //订单详情
    Route::get('IndexStore/orderList', 'IndexStore/orderList');

    Route::get('IndexStore/orderInfo', 'IndexStore/orderInfo');
    //分配订单给农场主
    Route::post('IndexStore/distributionOrderFarmer', 'IndexStore/distributionOrderFarmer');
    //地主申请提现
    Route::post('IndexStore/applyWallet', 'IndexStore/applyWallet');




    //首页选择店铺列表(lat,lng,store_name)
    Route::get('IndexGoods/indexStoreList', 'IndexGoods/indexStoreList');
    //选择门店(store_id)
    Route::post('IndexGoods/selectStore', 'IndexGoods/selectStore');
    //商品首页
    Route::get('IndexGoods/goodsIndex', 'IndexGoods/goodsIndex');
    //商品列表
    Route::get('IndexGoods/goodsList', 'IndexGoods/goodsList');
    //商品详情
    Route::get('IndexGoods/goodsInfo', 'IndexGoods/goodsInfo');
    //购物车信息
    Route::get('IndexGoods/carInfo', 'IndexGoods/carInfo');
    //删除购物车(id,goods_num)
    Route::post('IndexGoods/delCar', 'IndexGoods/delCar');
    //添加到购物车(goods_id,spe_id,goods_num)
    Route::post('IndexGoods/addCar', 'IndexGoods/addCar');
    //批量勾选购物车状态（id，数组，status）
    Route::post('IndexGoods/carUpdate', 'IndexGoods/carUpdate');
    //清空购物车
    Route::post('IndexGoods/delSomeCar', 'IndexGoods/delSomeCar');

    Route::get('IndexReseller/resellerInfo', 'IndexReseller/resellerInfo');

    Route::get('IndexReseller/orderList', 'IndexReseller/orderList');

    Route::get('IndexReseller/myTeam', 'IndexReseller/myTeam');

    Route::post('IndexReseller/applyWallet', 'IndexReseller/applyWallet');

    Route::get('IndexReseller/walletList', 'IndexReseller/walletList');






});
//支付
Route::any('IndexWxPay/returnPay', 'IndexWxPay/returnPay');




















